package com.edmendst.xmall.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Data
public class ProductSellInfo { //上架商品信息
    @JsonProperty("productId")
    private Integer productId;
    @JsonProperty("productName")
    private String productName;
    @JsonProperty("productDescription")
    private String productDescription;
    @JsonProperty("productPrice")
    private BigDecimal productPrice;
    @JsonProperty("productStock")
    private Integer productStock;
    @JsonProperty("categoryId")
    private Integer categoryId;
    private Integer shopId;
    private String productCoverImage;
    @JsonProperty("productOnlineStatus")
    private Integer productOnlineStatus;
    @JsonProperty("productImageList")
    private List<String> productImageList = new ArrayList<>();
    private List<Integer> productImageListOrder =new ArrayList<>();
}
